package com.wf.smartcomm.server.service;


import com.wf.smartcomm.server.bean.Advertisement;
import com.wf.smartcomm.server.bean.User;
import com.wf.smartcomm.server.bean.Village;
import com.wf.smartcomm.server.model.Page;

/** 
 * @author 38884306@qq.com  
 * @version 创建时间：2015-5-25 上午10:19:00 
 * 
 */
public interface AdService {
	public void save(Advertisement ad);
	public Advertisement get(String id);
	public void listByVillage(Village village,Page page);
	public void update(Advertisement ad);
	public void delete(Advertisement ad);
	public void query(Village loginVillage, String sSearch, Page page);
	public Advertisement getLatestAd(User user);
}
